import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/mes-warehouse/material-supervisor/page',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  });
};

export const exprot = ({ data }) => {
  return request({
    url: '/api/blade-resource/attach/export-template',
    method: 'post',
    data: data,
    responseType: 'blob'
  });
};
